﻿CREATE PROCEDURE [dbo].[WorkflowGetByComponent]
(@ComponentID UniqueIdentifier) 
AS begin 
	select w.* 
	from 
		Workflow w 
		inner join Component c on c.WorkflowID=w.WorkflowID	
	where 
		c.ComponentID=@ComponentID;
end